/**
 * Copyright &copy; 2015-2020 <a href="http://www.jeeplus.org/">JeePlus</a> All rights reserved.
 */
package com.jeeplus.modules.web.entity;


import com.jeeplus.core.persistence.DataEntity;
import com.jeeplus.common.utils.excel.annotation.ExcelField;

/**
 * 钱包Entity
 * @author rongjie
 * @version 2017-08-06
 */
public class WxUserWallet extends DataEntity<WxUserWallet> {

	private static final long serialVersionUID = 1L;
	private WxUser user;		// 用户id
	private Integer money;		// 钱包
	private String integral;		// 积分
	private String version;		// 版本
	private String total;		// 版本

	public WxUserWallet() {
		super();
		this.setIdType(IDTYPE_AUTO);
	}

	public WxUserWallet(String id){
		super(id);
	}

	@ExcelField(title="用户id", fieldType=WxUser.class, value="user.userName", align=2, sort=1)
	public WxUser getUser() {
		return user;
	}

	public void setUser(WxUser user) {
		this.user = user;
	}

	@ExcelField(title="钱包", align=2, sort=8)
	public Integer getMoney() {
		return money;
	}

	public void setMoney(Integer money) {
		this.money = money;
	}

	@ExcelField(title="积分", align=2, sort=9)
	public String getIntegral() {
		return integral;
	}

	public void setIntegral(String integral) {
		this.integral = integral;
	}

	@ExcelField(title="版本", align=2, sort=10)
	public String getVersion() {
		return version;
	}

	public void setVersion(String version) {
		this.version = version;
	}

	public String getTotal() {
		return total;
	}

	public void setTotal(String total) {
		this.total = total;
	}
}
